package com.gexiaobao.pigeon.app.model.bean

import android.os.Parcelable
import kotlinx.parcelize.Parcelize

/**
 * @Author      : hxw
 * @Date        : 2024/3/18 17:11
 * @Describe    : 58313
 */
@Parcelize
class PigeonRaceCharResponse(

    var averageSpeed: String = "",
    var me: MeBean? = null,
    var other: OtherBean? = null,
    var pigeonRaces: ArrayList<PigeonRacesBean> = arrayListOf(),
    var ringId: String = "",
    var totalDisStr: String = ""

) : Parcelable {

    @Parcelize
    class PigeonRacesBean(

        var raceId: Int = 0,
        var raceName: String = "",
        var raceType: Int = 0

    ) : Parcelable

    @Parcelize
    class OtherBean(

        var chartGrades: ArrayList<ChartGradesBean> = arrayListOf(),
        var pigeonId: Int = 0,
        var ringId: String = ""

    ) : Parcelable {

        @Parcelize
        class ChartGradesBean(

            var disStr: String = "",
            var speed: Float = 0.00F

        ) : Parcelable

    }

    @Parcelize
    class MeBean(

        var chartGrades: ArrayList<ChartGradesBean> = arrayListOf(),
        var pigeonId: Int = 0,
        var ringId: String = ""

    ) : Parcelable {

        @Parcelize
        class ChartGradesBean(

            var disStr: String = "",
            var speed: Float = 0.00F

        ) : Parcelable

    }

}